<?php 
include_once("../configuracion/config.php"); 

/*$data = data_submitted();
print_object($data);
$idintegrante = $data->idpersona;
$personas = new abmIntegrante($data->idpersona);
$verctor = $personas->obtenerDatos(); //($data->idpersonas);
*/

	//Tabs
	
	echo "<div id='tabs'>";
	echo "<ul id='tabsProyecto-nav'>";
	$arrTab = array(
		array("Current","tabProyecto-1"),
		array("Previous","tabProyecto-2")
	);
	$varTab= "tabProyecto-1";
	/*for ($i = 1; $i <= count($arrTab); $i += 1) {
		echo "<li id='" . $arrTab[$i-1][1] . "' class='tab' ";
		echo "\"><a href='?tab=" . $arrTab[$i-1][1] ;
		if ($arrTab[$i-1][1] == $varTab) {
			echo " id='current'";
		}
		
		echo "'><span id='" . $arrTab[$i-1][1] . "-loading' class='tab-loading'></span>
			<span class='tab-label'>" . $arrTab[$i-1][0] . "</span></a></li>";
	}*/
	for ($i = 1; $i <= count($arrTab); $i += 1) {
		echo "<li  ";
	   if ($arrTab[$i-1][1] == $varTab) {
	   	echo " id='current'";
		}else{
			echo " id='idli".$i."'";
		}
	echo "\"><a id='" . $arrTab[$i-1][1] . "' href='?tab=" . $arrTab[$i-1][1] ;
		echo "'>
		<span >".$arrTab[$i-1][0] . "</span></a></li>";
	}
	
	//echo "</ul>";
	echo "</div>\n";
	echo "<div id='tabs-content'>\n";

	include("ProyectoController.php");
	echo "</div>\n";
	
	?>

